<template>
  <div v-if="crud.props.searchToggle">
    <el-input v-model="query.regionName" placeholder="区域名称" style="width: 200px;" class="filter-item" @keyup.enter.native="crud.toQuery" />
    <el-input v-model="query.regionAlias" placeholder="区域别名" style="width: 200px;" class="filter-item" @keyup.enter.native="crud.toQuery" />
    <el-input v-model="query.regionTags" placeholder="区域标签" style="width: 200px;" class="filter-item" @keyup.enter.native="crud.toQuery" />

    <!--通用查询-->
    <rrOperation :crud="crud" />
  </div>
</template>

<script>
import { header } from '@crud/crud'
import rrOperation from '@crud/RR.operation'

export default {
  components: { rrOperation },
  mixins: [header()],
  props: {
    permission: {
      type: Object,
      required: true
    }
  }
}
</script>
